package com.bootdo.wx.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.wx.dao.MemberFeedbackDao;
import com.bootdo.wx.domain.MemberFeedbackDO;
import com.bootdo.wx.service.MemberFeedbackService;



@Service
public class MemberFeedbackServiceImpl implements MemberFeedbackService {
	@Autowired
	private MemberFeedbackDao memberFeedbackDao;
	
	@Override
	public MemberFeedbackDO get(String id){
		return memberFeedbackDao.get(id);
	}
	
	@Override
	public List<MemberFeedbackDO> list(Map<String, Object> map){
		return memberFeedbackDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return memberFeedbackDao.count(map);
	}
	
	@Override
	public int save(MemberFeedbackDO memberFeedback){
		return memberFeedbackDao.save(memberFeedback);
	}
	
	@Override
	public int update(MemberFeedbackDO memberFeedback){
		return memberFeedbackDao.update(memberFeedback);
	}
	
	@Override
	public int remove(String id){
		return memberFeedbackDao.remove(id);
	}
	
	@Override
	public int batchRemove(String[] ids){
		return memberFeedbackDao.batchRemove(ids);
	}


	@Override
	public List<Map<String,Object>> getList(Map<String, Object> map){
		return memberFeedbackDao.getList(map);
	}

	@Override
	public int getListCount(Map<String, Object> map){
		return memberFeedbackDao.getListCount(map);
	}
}
